package tmt.usercenter.web.domain.enums;

import com.tmt.annotation.EnumDescriptor;
import com.tmt.annotation.parser.EnumAnnotationParser;

/**
 * 审核状态
 * Created by ThreeManTeam on 2017/4/27.
 */
public enum FuncPointType {

    @EnumDescriptor(title = "用户注册验证码")
    USER_REGISTER,

    @EnumDescriptor(title = "密码重置确认码")
    RESET_PASSWORD,

    @EnumDescriptor(title = "实名认证确认码")
    REAL_NAME_AUTH,

    @EnumDescriptor(title = "手机绑定确认码")
    UPDATE_MOBILE,

    @EnumDescriptor(title = "配送地址联系人手机号码验证码")
    CONTACT_MOBILE,

    @EnumDescriptor(title = "业务续费或升级通知")
    BUSINESS_UPGRADE,

    @EnumDescriptor(title = "导流店铺需求通知")
    SHARE_BONUS_NOTIFY,

    ;

    public static FuncPointType from(String title) {
        return EnumAnnotationParser.convertFromTitle(FuncPointType.class, title);
    }

}
